package com.long1008.mapper;

import com.long1008.pojo.RewordRules;
import org.apache.ibatis.annotations.Param;

/**
 * 奖惩规则
 */
public interface RewordRulesMapper {

    RewordRules getAllRewordRules();

    int updateRulesByReword(@Param("rewordRules") RewordRules rewordRules);

    int updateRulesByPunishment(@Param("rewordRules") RewordRules rewordRules);

    int updateRulesByLeave(@Param("rewordRules") RewordRules rewordRules);
}
